Skip to content

split codecov uploading into separate repo #3084

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from
Draft
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
remove some tests for now
  • Loading branch information
haarg committed May 20, 2024
commit e942d0a6be038ac74680e67d20fad508331bdaa9
94 changes: 47 additions & 47 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,52 +10,52 @@ on:
workflow_dispatch:

jobs:
code-formatting:
runs-on: ubuntu-22.04
name: Code Formatting
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Fetch base ref
if: ${{ github.event.pull_request }}
run: git fetch origin ${{ github.base_ref }}:upstream
- run: npm install
- name: Install Carton
uses: perl-actions/install-with-cpm@v1
with:
install: Carton
- name: Install CPAN deps
uses: perl-actions/install-with-cpm@v1
with:
cpanfile: 'cpanfile'
args: >
--resolver=snapshot
--without-runtime
--without-test
--without-build
--with-develop
- name: Install precious
run: ./bin/install-precious /usr/local/bin
- name: Lint modified files
if: ${{ github.event.pull_request }}
run: precious lint --git-diff-from upstream
- name: Lint all files
if: ${{ ! github.event.pull_request }}
run: precious lint --all
docker:
runs-on: ubuntu-22.04
name: Docker
steps:
- name: Build test image
id: docker-build-test
uses: docker/build-push-action@v5
with:
target: test
push: false
load: true
- name: Run Perl tests
run: docker run -i ${{ steps.docker-build-test.outputs.imageid }}
# code-formatting:
# runs-on: ubuntu-22.04
# name: Code Formatting
# steps:
# - uses: actions/checkout@v4
# with:
# fetch-depth: 0
# - name: Fetch base ref
# if: ${{ github.event.pull_request }}
# run: git fetch origin ${{ github.base_ref }}:upstream
# - run: npm install
# - name: Install Carton
# uses: perl-actions/install-with-cpm@v1
# with:
# install: Carton
# - name: Install CPAN deps
# uses: perl-actions/install-with-cpm@v1
# with:
# cpanfile: 'cpanfile'
# args: >
# --resolver=snapshot
# --without-runtime
# --without-test
# --without-build
# --with-develop
# - name: Install precious
# run: ./bin/install-precious /usr/local/bin
# - name: Lint modified files
# if: ${{ github.event.pull_request }}
# run: precious lint --git-diff-from upstream
# - name: Lint all files
# if: ${{ ! github.event.pull_request }}
# run: precious lint --all
# docker:
# runs-on: ubuntu-22.04
# name: Docker
# steps:
# - name: Build test image
# id: docker-build-test
# uses: docker/build-push-action@v5
# with:
# target: test
# push: false
# load: true
# - name: Run Perl tests
# run: docker run -i ${{ steps.docker-build-test.outputs.imageid }}
test:
runs-on: ubuntu-20.04
name: Dockerless
Expand All @@ -66,7 +66,7 @@ jobs:
- '5.36'
resolver:
- snapshot
- metacpan
# - metacpan
container:
image: perl:${{ matrix.perl-version }}
env:
Expand Down