Skip to content

Commit

Permalink
remove some tests for now
Browse files Browse the repository at this point in the history
  • Loading branch information
haarg committed May 20, 2024
1 parent ec71d95 commit e942d0a
Showing 1 changed file with 47 additions and 47 deletions.
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

0 comments on commit e942d0a

Please sign in to comment.