mirror of
https://github.com/actix/actix-extras.git
synced 2024-11-24 07:53:00 +01:00
59 lines
1.4 KiB
YAML
59 lines
1.4 KiB
YAML
name: CI (Linux, MSRV)
|
|
|
|
on:
|
|
pull_request:
|
|
types: [opened, synchronize, reopened]
|
|
push:
|
|
branches:
|
|
- master
|
|
|
|
jobs:
|
|
build_and_test:
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
version:
|
|
- 1.42.0
|
|
|
|
name: ${{ matrix.version }} - x86_64-unknown-linux-gnu
|
|
runs-on: ubuntu-latest
|
|
|
|
services:
|
|
redis:
|
|
image: redis:5.0.7
|
|
ports:
|
|
- 6379:6379
|
|
options: --entrypoint redis-server
|
|
|
|
steps:
|
|
- uses: actions/checkout@master
|
|
|
|
- name: Install ${{ matrix.version }}
|
|
uses: actions-rs/toolchain@v1
|
|
with:
|
|
toolchain: ${{ matrix.version }}-x86_64-unknown-linux-gnu
|
|
profile: minimal
|
|
override: true
|
|
|
|
- name: tests (1.40.0)
|
|
if: matrix.version == '1.40.0'
|
|
uses: actions-rs/cargo@v1
|
|
timeout-minutes: 40
|
|
with:
|
|
command: test
|
|
args: --package=actix-cors
|
|
--package=actix-identity
|
|
--package=actix-redis
|
|
--package=actix-session
|
|
--package=actix-web-httpauth
|
|
--all-features --no-fail-fast -- --nocapture
|
|
|
|
- name: tests (1.42.0)
|
|
if: matrix.version == '1.42.0'
|
|
uses: actions-rs/cargo@v1
|
|
timeout-minutes: 40
|
|
with:
|
|
command: test
|
|
args: --package=actix-protobuf
|
|
--all-features --no-fail-fast -- --nocapture
|